package com.ruoyi.gams.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 排队对象 gams_user_queue
 *
 * @author ruoyi
 */
@EqualsAndHashCode(callSuper = true)
@Data
@ToString
public class GamsUserQueue extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Excel(name = "ID")
    private Integer id;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Integer userId;

    /**
     * 用户姓名
     */
    @Excel(name = "用户姓名")
    private String userName;

    /**
     * 业务ID
     */
    @Excel(name = "业务ID")
    private Integer bussinessId;

    /**
     * 业务名称
     */
    @Excel(name = "业务名称")
    private String bussinessName;

    /**
     * 状态
     */
    @Excel(name = "状态")
    private Integer status;

    /**
     * 排队号码
     */
    @Excel(name = "排队号码")
    private String number;

    /**
     * 取号方式
     */
    @Excel(name = "取号方式")
    private Integer numberGetmethod;

    /**
     * 前方排队人数
     */
    @Excel(name = "前方排队人数")
    private Integer queueUserCount;

    /**
     * 窗口编号
     */
    @Excel(name = "窗口编号")
    private String windowNum;

    /**
     * 窗口ID
     */
    @Excel(name = "窗口ID")
    private Integer windowId;

    /**
     * 办理员工ID
     */
    @Excel(name = "办理员工ID")
    private Integer staffId;

    /**
     * 办理员工名称
     */
    @Excel(name = "办理员工名称")
    private String staffName;

    /**
     * 机构ID
     */
    @Excel(name = "机构ID")
    private Integer departmentId;

    /**
     * 机构名称
     */
    @Excel(name = "机构名称")
    private String departmentName;

    /**
     * 叫号时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "叫号时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date callTime;

    /**
     * 办结时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "办结时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /**
     * 等待时长（分钟）
     */
    @Excel(name = "等待时长", readConverterExp = "分=钟")
    private Integer waitTime;

    /**
     * 办理时长（分钟）
     */
    @Excel(name = "办理时长", readConverterExp = "分=钟")
    private Integer processTime;

    /**
     * 服务态度
     */
    @Excel(name = "服务态度")
    private Integer attitude;

    /**
     * 服务质量
     */
    @Excel(name = "服务质量")
    private Integer quality;

    /**
     * 服务效率
     */
    @Excel(name = "服务效率")
    private Integer efficiency;

    /**
     * 廉洁自律
     */
    @Excel(name = "廉洁自律")
    private Integer autonomy;

    /**
     * 评价时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date scoringTime;


    @Excel(name = "业务ID数组")
    private String[] bussinessIds;

    @Excel(name = "是否今天的数据 1.是 0.否")
    private Integer isToday;

    //等待中
    private Integer waiting;
    //未完成
    private Integer notdone;
}
